package com.changxianggu.cloud.crawler.core.modules.storage.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.changxianggu.cloud.crawler.core.config.mybatisplus.service.impl.BaseServiceImpl;
import com.changxianggu.cloud.crawler.core.modules.storage.entity.CxgBook;
import com.changxianggu.cloud.crawler.core.modules.storage.mapper.CxgBookMapper;
import com.changxianggu.cloud.crawler.core.modules.storage.service.ICxgBookService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liuyuantao
 * @since 2020-02-19
 */
@Service
@DS("master")
public class CxgBookServiceImpl extends BaseServiceImpl<CxgBookMapper, CxgBook> implements ICxgBookService {

    @Override
    public List<CxgBook> selectRepeatedBook() {
        return baseMapper.selectRepeatedBook();
    }
}
